#pragma once

#include <WebSocket/types.h>
#include "../types.h"

namespace Call
{
    struct TcpReceiveTask : public WS::Thread
    {
        WS::TcpSocket m_tcpSocket;

        TcpReceiveTask() = default;

        void Run();

    private:
        void OnSignal(const Call::SignalBuffer &buf);
    };
}